package com.podcstr.service;

import com.podcstr.entity.Series;
import com.podcstr.service.exception.ServiceException;

import java.util.List;

/**
 * @author azim
 * @since 5/19/13 
 */

public interface SeriesService {

    void add(Series series) throws ServiceException;

    List<Series> findAll();

    void delete(long seriesId);

    void toggleAccess(long seriesId);

    void update(Series series);

    Series findBySeriesName(String seriesName);

    List<Series> findByUserId(long userId);

    List<Series> findByTags(String tag);
}
